package com.wanhong.springboot.ssm.framework.common;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author w_yu
 * @date 2020/12/2 14:57
 * @description: 分页请求
 **/

@Data
public class PageRequest {

    @NotNull(message = "页码不能为空")
    private Integer pageNo;

    @NotNull(message = "页面数量不能为空")
    private Integer pageSize;

}
